C_FLAGS = -I. -I../../../include -L../../../lib

TLIB= -ltlib

BINARYS = dbtest

# Comment the following line if you are not using the gnu c compiler
C_ARGS = -Wall

# You might have to change this if your c compiler is not cc
CC = gcc

.o:
	$(CC) -c $(C_FLAGS) $*

all: $(BINARYS)

dbtest: dbtest.c
	$(CC) -o  dbtest dbtest.c  -I/usr/local/mysql/include -L/usr/local/mysql/lib $(TLIB) $(C_FLAGS) $(C_LINK) -lmysqlclient
clean: 
	rm $(BINARYS)
